package cn.xenosp.server.module.roleMenu.mapper;

import cn.xenosp.server.module.roleMenu.entity.SysRoleMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author TongHui
* @description 针对表【sys_role_menu(角色和菜单关联表)】的数据库操作Mapper
* @createDate 2024-12-23 14:46:02
* @Entity cn.xenosp.server.module.roleMenu.entity.SysRoleMenu
*/

public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> {

    int selectByRoleId(String id);

    int insertBatch(@Param("list") List<SysRoleMenu> roleMenuList);
}




